package top.tangyh.lamp.care.vo.update;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import java.time.LocalDateTime;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import top.tangyh.basic.base.entity.SuperEntity;
import java.io.Serializable;

/**
 * <p>
 * 表单修改方法VO
 * 文书记录表
 * </p>
 *
 * @author zqb
 * @date 2024-07-29 14:16:21
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode
@Builder
@Schema(description = "文书记录")
public class BDocRecordUpdateVO implements Serializable {

    private static final long serialVersionUID = 1L;

    @Schema(description = "")
    @NotNull(message = "请填写", groups = SuperEntity.Update.class)
    private Long id;

    /**
     * 文书名称
     */
    @Schema(description = "文书名称")
    @Size(max = 32, message = "文书名称长度不能超过{max}")
    private String docName;
    /**
     * 病人识别号
     */
    @Schema(description = "病人识别号")
    @Size(max = 32, message = "病人识别号长度不能超过{max}")
    private String patientIdent;
    /**
     * 住院号
     */
    @Schema(description = "住院号")
    @Size(max = 60, message = "住院号长度不能超过{max}")
    private String hospitalNumber;
    /**
     * 姓名
     */
    @Schema(description = "姓名")
    @NotEmpty(message = "请填写姓名")
    @Size(max = 32, message = "姓名长度不能超过{max}")
    private String patientName;
    /**
     * 床号
     */
    @Schema(description = "床号")
    @Size(max = 32, message = "床号长度不能超过{max}")
    private String bedNumber;
    /**
     * 0其他1男2女
     */
    @Schema(description = "0其他1男2女")
    @NotNull(message = "请填写0其他1男2女")
    private Integer gender;
    /**
     * 病区属性
     */
    @Schema(description = "病区属性")
    @Size(max = 32, message = "病区属性长度不能超过{max}")
    private String wardIdent;
    /**
     * 身份证号
     */
    @Schema(description = "身份证号")
    @Size(max = 64, message = "身份证号长度不能超过{max}")
    private String identCard;
    /**
     * 评估内容json串
     */
    @Schema(description = "评估内容json串")
    @Size(max = 65535, message = "评估内容json串长度不能超过{max}")
    private String jsonText;

    /**
     * 
     */
    @Schema(description = "")
    private Integer type;
    /**
     * 记录时间
     */
    @Schema(description = "记录时间")
    private LocalDateTime recordTime;
    /**
     * 年龄
     */
    @Schema(description = "年龄")
    private Integer age;
    /**
     * 科室名称
     */
    @Schema(description = "科室名称")
    @Size(max = 255, message = "科室名称长度不能超过{max}")
    private String deptName;
    /**
     * 病区名称
     */
    @Schema(description = "病区名称")
    @Size(max = 255, message = "病区名称长度不能超过{max}")
    private String wardName;


}
